<div class="panel panel-default">
	<div class="panel-heading"><h3>用户列表</h3></div>
	<div class="panel-body">
		<table class="table table-bordered">
			<tr ng-click="allcheck()">
				<th class="text-center"><i ng-class="{'glyphicon-unchecked':!allischecked,'glyphicon-check':allischecked}" class="glyphicon" ></i> 全选</th>
				<th>id</th>
				<th>姓名</th>
				<th>密码</th>
				<th>操作</th>
			</tr>
		  	<tr ng-repeat="d in list">
		  		<td  class="text-center" ng-click="itemchecked(d)"><i ng-class="{'glyphicon-unchecked':!d.ischecked,'glyphicon-check':d.ischecked}" class="glyphicon"></i></td>
		  		<td>{{d.Id}}</td>
		  		<td>{{d.username}}</td>
		  		<td>{{d.password}}</td>
		  		<td class="text-center manual"><button class="btn btn-primary" ng-click="edit(d.Id)">编辑</button><button class="btn btn-danger" ng-click="delete(d.Id)">删除</button></td>
		  	</tr>
		</table>
		<div class="bot">
			<div class="pull-left"  >
				<input type="button" value="反选" ng-click="reverseallcheck()"> 
			</div>
			<div class="pull-right"><button class="btn btn-danger" ng-click="deleteAll()">删除</button></div>
		</div>
	</div>
</div>